#ifndef RULEMANAGER_H_
#define RULEMANAGER_H_

#include "TileDescription.h"

class RuleManager
{
public:
	// deconstructor
	virtual ~RuleManager();

	// static singleton methods
	static RuleManager & getInstance() { return manager; };

	// rule functions
	bool isValidTile(const board::TileData & data) const;

private:
	// constructors
	RuleManager();

	// singleton data
	static RuleManager manager;
};

#endif /* RULEMANAGER_H_ */
